$OpenBSD: patch-src_polkit_polkitpermission_c,v 1.1 2017/04/16 15:37:41 ajacoutot Exp $

From dfd2c165447029c32510842350e924ef5ac3f679 Mon Sep 17 00:00:00 2001
From: Rui Matos <tiagomatos@gmail.com>
Date: Thu, 2 Mar 2017 14:50:31 +0100
Subject: [PATCH] polkitpermission: Fix a memory leak on authority changes

--- src/polkit/polkitpermission.c.orig	Sat Jun  6 01:24:06 2015
+++ src/polkit/polkitpermission.c	Sun Apr 16 17:30:52 2017
@@ -454,6 +454,7 @@ changed_check_cb (GObject       *source_object,
   if (result != NULL)
     {
       process_result (permission, result);
+      g_object_unref (result);
     }
   else
     {
